//
//  BIDShowDocView.h
//  shangwuting
//
//  Created by mal on 13-12-26.
//  Copyright (c) 2013年 mal. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BIDCustomSpinnerView;

@interface BIDShowDocView : UIView<UIWebViewDelegate>

//用来显示文档
@property (strong, nonatomic) UILabel *docViewTitle;
@property (strong, nonatomic) UIWebView *docWebView;
@property (strong, nonatomic) NSURL *fileNameURL;
@property (strong, nonatomic)UIButton *closeBtn;

@property (strong, nonatomic)BIDCustomSpinnerView *spinnerView;

- (void)initView;
- (void)openDoc:(NSString*)fileName;
- (void)openDoc:(NSString *)fileName path:(NSURL*)desURL;
//打开txt文件
- (void)openTxt:(NSURL*)url;
- (void)closeBtnHandler;

@end
